<h2>Publish new bookmark</h2>
<form id="newBookmark" action="<?php echo $this->baseUrl() ?>/bookmarks/index/publish/" method="post">


<div class="input">
<label for="title">Title</label>
<input type="text" name="title" id="title" value="<?php echo $this->title ?>"></input>
</div>

<div class="input">
<label for="URL">URL</label>
<input type="text" name="URL" id="URL" placeholder="http://" value="<?php echo $this->URL ?>"></input>
</div>

<div class="input">
<label for="tags">Tags</label><span class="details">(comma separated)</span>
<input type="text" name="tags" id="tags" placeholder="e.g. web,ressource" value="<?php echo $this->tags ?>"></input>
</div>

<div class="input">
<label for="description">Description</label>
<textarea type="text" name="description" id="description"><?php echo $this->description ?></textarea>
</div>

<div class="input">
<input type="checkbox" name="private" id="private" <?php if($this->private) echo 'checked' ?> >
<label for="private" id="privateLabel">Check if bookmark should not be shared with other</label>
</div>

<button type="submit">Add Bookmark</button>
</form>

<h2>Bookmarklet</h2>